from socket import *

# 创建udp套接字对象
udpSocket = socket(AF_INET, SOCK_DGRAM)

# 目标主机元组
ip = ("169.254.185.69", 8080)

# 发送数据
udpSocket.sendto(b"haha", ip)
